package com.jzo2o.customer.service;

import com.jzo2o.common.model.PageResult;
import com.jzo2o.customer.model.domain.WorkerCertificationAudit;
import com.baomidou.mybatisplus.extension.service.IService;
import com.jzo2o.customer.model.dto.request.WorkerCertificationAuditPageQueryReqDTO;
import com.jzo2o.customer.model.dto.response.WorkerCertificationAuditResDTO;

/**
 * <p>
 * 服务人员认证审核表 服务类
 * </p>
 *
 * @author mr.zhao
 * @since 2025-07-01
 */
public interface IWorkerCertificationAuditService extends IService<WorkerCertificationAudit> {

	/**
	 * 获取驳回原因
	 * @return
	 */
	String getRejectReason(Long userId);

	/**
	 * 分页查询审核信息
	 * @param dto
	 * @return
	 */
	PageResult<WorkerCertificationAuditResDTO> pageList(WorkerCertificationAuditPageQueryReqDTO dto);

	/**
	 * 审核服务人员认证信息
	 * @param certificationStatus
	 * @param id
	 * @param rejectReason
	 */
	void audit(Integer certificationStatus, Long id, String rejectReason);
}
